U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11: {1}
tt: empty set
U12: {1}
s: {1}
plus: {1, 2}
U21: {1}
U22: {1}
x: {1, 2}
0: empty set
↳ CSR
↳ CSRInnermostProof
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11: {1}
tt: empty set
U12: {1}
s: {1}
plus: {1, 2}
U21: {1}
U22: {1}
x: {1, 2}
0: empty set
The CSR is orthogonal. By [10] we can switch to innermost.
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11: {1}
tt: empty set
U12: {1}
s: {1}
plus: {1, 2}
U21: {1}
U22: {1}
x: {1, 2}
0: empty set
Innermost Strategy.
Using Improved CS-DPs we result in the following initial Q-CSDP problem.
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
U111(tt, M, N) → U121(tt, M, N)
U121(tt, M, N) → PLUS(N, M)
U211(tt, M, N) → U221(tt, M, N)
U221(tt, M, N) → PLUS(x(N, M), N)
U221(tt, M, N) → X(N, M)
PLUS(N, s(M)) → U111(tt, M, N)
X(N, s(M)) → U211(tt, M, N)
U121(tt, M, N) → N
U121(tt, M, N) → M
U221(tt, M, N) → N
U221(tt, M, N) → M
U121(tt, M, N) → U(N)
U121(tt, M, N) → U(M)
U221(tt, M, N) → U(N)
U221(tt, M, N) → U(M)
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
U121(tt, M, N) → PLUS(N, M)
PLUS(N, s(M)) → U111(tt, M, N)
U111(tt, M, N) → U121(tt, M, N)
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PLUS(N, s(M)) → U111(tt, M, N)
Used ordering: Combined order from the following AFS and order.
U121(tt, M, N) → PLUS(N, M)
U111(tt, M, N) → U121(tt, M, N)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ QCSDP
U121(tt, M, N) → PLUS(N, M)
U111(tt, M, N) → U121(tt, M, N)
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPSubtermProof
U221(tt, M, N) → X(N, M)
X(N, s(M)) → U211(tt, M, N)
U211(tt, M, N) → U221(tt, M, N)
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
X(N, s(M)) → U211(tt, M, N)
Used ordering: Combined order from the following AFS and order.
U221(tt, M, N) → X(N, M)
U211(tt, M, N) → U221(tt, M, N)
↳ CSR
↳ CSRInnermostProof
↳ CSR
↳ CSDependencyPairsProof
↳ QCSDP
↳ QCSDependencyGraphProof
↳ AND
↳ QCSDP
↳ QCSDP
↳ QCSDPSubtermProof
↳ QCSDP
↳ QCSDependencyGraphProof
U221(tt, M, N) → X(N, M)
U211(tt, M, N) → U221(tt, M, N)
U11(tt, M, N) → U12(tt, M, N)
U12(tt, M, N) → s(plus(N, M))
U21(tt, M, N) → U22(tt, M, N)
U22(tt, M, N) → plus(x(N, M), N)
plus(N, 0) → N
plus(N, s(M)) → U11(tt, M, N)
x(N, 0) → 0
x(N, s(M)) → U21(tt, M, N)
U11(tt, x0, x1)
U12(tt, x0, x1)
U21(tt, x0, x1)
U22(tt, x0, x1)
plus(x0, 0)
plus(x0, s(x1))
x(x0, 0)
x(x0, s(x1))